package com.wootion.cims.module.systemsetting.user.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;

import com.wootion.cims.module.systemsetting.user.model.User;
import com.wootion.cims.response.ResponseResult;

import javax.servlet.http.HttpServletRequest;
import java.io.UnsupportedEncodingException;

public interface SysUserService extends IService<User>{

    ResponseResult insert(JSONObject sysUser);

    ResponseResult update(HttpServletRequest request,JSONObject sysUser);

    ResponseResult deleteById(HttpServletRequest request,String parseObject);

    ResponseResult selectPage(Integer page, Integer limit, String condition, String useTime, String account);

    ResponseResult roleChages(HttpServletRequest request,JSONObject jsonObject);

    ResponseResult comChages(HttpServletRequest request,JSONObject jsonObject);
    
    ResponseResult deleteByIds(HttpServletRequest request,JSONObject jsonObject);

    ResponseResult reset(HttpServletRequest request,String id);

    ResponseResult passwordchage(HttpServletRequest request,JSONObject jsonObject);

    ResponseResult selectPage2(Integer page, Integer limit, String condition);

    ResponseResult getBack(String id);
}
